package com.softeem.mpdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.softeem.mpdemo.dto.Result;
import com.softeem.mpdemo.entity.Admin;

public interface AdminService extends IService<Admin> {

    /**
     * 管理员登录
     * @param admin
     * @return
     */
    Result login(Admin admin);

    /**
     * 管理员注册
     * @param admin
     * @return
     */
    Result reg(Admin admin);

}
